package com.luo.dao;

import com.luo.model.GoodByTwoClassId;
import com.luo.model.Goods;
import com.luo.model.TwoClass;

import java.util.List;
import java.util.Map;

public interface GoodMappers {
    public List<Goods> queryNewGoods();

    public List<Goods> queryGoodsByTwoId(String id);

    public List<Goods> queryAllGoods();

    int updateGood(Goods goods);

    int deleteGoodById(String id);

    int deleteSomeGoodsById(List<String> strings);

    int addOneGood(Goods goods);

    List<Goods> queryGoodSomeByTwoClassId(GoodByTwoClassId goodByTwoClassId);

    List<Goods> queryGoodByOneId(String id);

    Goods queryGoodBy(String id);

    int addIntroducepictureImgs(Map map);

    int addMainpicturesImgs(Map map);

    List<Goods> queryGoodsByNameLike(String name);
}
